//
//  MyControlUilt.h
//  WinesMall
//
//  Created by Isaac on 16/6/24.
//  Copyright © 2016年 Isaac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MyControlUilt : NSObject

+(UIButton *)initButtonWithFrame:(CGRect)frame title:(NSString *)title titleColor:(UIColor *)titleColor backGroundColor:(UIColor*)backGroundColor cornerRadius:(CGFloat)cornerRadius target:(id)sender action:(SEL)action;
//+(UIView *)initFilterViewWithFrame:(CGRect)frame buttonTitle:(NSString *)title image:(UIImage *)image;

#pragma 快捷创建UILabel
+ (UILabel *)createLabelWithFrame:(CGRect)frame
                        labelText:(NSString* )labelText
                        backColor:(UIColor *)backColor
                             Font:(UIFont *)font
                        TextColor:(UIColor *)textColor
                        SuperView:(UIView *)superView;

#pragma mark -- 创建button
+ (UIButton *)createButtonWithFrame:(CGRect) frame
                              Title:(NSString *)title
                         TiTleColor:(UIColor *)color
                          SuperView:(UIView *)superView
                               Font:(UIFont *)font
                          BackColor:(UIColor *)backColor;


#pragma mark -- 创建textF
+ (UITextField *)createTextFieldWithFrame:(CGRect) frame
                                    Title:(NSString *)title
                                TextColor:(UIColor *)color
                                SuperView:(UIView *)superView
                                     Font:(UIFont *)font
                                BackColor:(UIColor *)backColor;


#pragma mark -- 创建textF
+ (UIImageView *)createImageViewWithFrame:(CGRect) frame
                                SuperView:(UIView *)superView
                                BackColor:(UIColor *)backColor;






@end
